package com.ruoyi.web.controller.tool;

public class Statics {


    // 1.全部包含：大写、小写、数字、特殊字符；
    public static String regex1 = "(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[\\W_])^.*$";

    // 2.无大写：小写、数字、特殊字符；
    public static String regex2 = "(?=.*[a-z])(?=.*[0-9])(?=.*[\\W_])^.*$";

    // 3.无小写：大写、数字、特殊字符；
    public static String regex3 = "(?=.*[A-Z])(?=.*[0-9])(?=.*[\\W_])^.*$";

    // 4.无数字：大写、小写、特殊字符；
    public static String regex4 = "(?=.*[A-Z])(?=.*[a-z])(?=.*[\\W_])^.*$";

    // 5.无特殊字符：大写、小写、数字；
    public static String regex5 = "(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])^.*$";

    public static String regex6 = "(" + regex1 + ")|(" + regex2 + ")|(" + regex3 + ")|(" + regex4 + ")|(" + regex5 + ")";


}
